package com.csun.cmny.provider.model.domain;

import javax.persistence.*;

@Table(name = "cn_dmc_phone_event_alert")
public class DmcPhoneEventAlert {
    /**
     * 电话机事件Id
     */
    @Id
    @Column(name = "event_id")
    private Long eventId;

    /**
     * 电话机报警Id
     */
    @Id
    @Column(name = "alert_id")
    private Long alertId;

    /**
     * 获取电话机事件Id
     *
     * @return event_id - 电话机事件Id
     */
    public Long getEventId() {
        return eventId;
    }

    /**
     * 设置电话机事件Id
     *
     * @param eventId 电话机事件Id
     */
    public void setEventId(Long eventId) {
        this.eventId = eventId;
    }

    /**
     * 获取电话机报警Id
     *
     * @return alert_id - 电话机报警Id
     */
    public Long getAlertId() {
        return alertId;
    }

    /**
     * 设置电话机报警Id
     *
     * @param alertId 电话机报警Id
     */
    public void setAlertId(Long alertId) {
        this.alertId = alertId;
    }
}